all: float
INCLUDE = .
CXX = g++
CXXFLAGS = -Wall
float: main.o float.o length.o
	$(CXX) $(CXXFLAGS) -I$(INCLUDE)  main.o float.o length.o -o float

main.o: float.h main.cpp
	$(CXX) $(CXXFLAGS) -I$(INCLUDE) -c main.cpp -o main.o

float.o: float.h float.cpp
	$(CXX) $(CXXFLAGS) -I$(INCLUDE) -c float.cpp -o float.o
length.o: float.h length.cpp
	$(CXX) $(CXXFLAGS) -I$(INCLUDE) -c length.cpp -o length.o

clean:
	-rm float.o main.o length.o

